//void ScanLineRGB24ToRGB24(
//                Pixel* dst, Pixel* src, int stride)

//;R0 = dst, R1 = src, R2 = stride

#include <asm.h>

.global C_SYMBOL(ScanLineRGB24ToRGB24_V4)
C_SYMBOL(ScanLineRGB24ToRGB24_V4):

	STMFD	SP!, {R4, R5, R6, LR}
    LDMIA   R1!, {R3-R6}

_ScanLineRGB24ToRGB24_V4_Loop:

    STMIA   R0!, {R3-R6}
	SUBS    R2, R2, #1
    LDMNEIA   R1!, {R3-R6}

    BNE     _ScanLineRGB24ToRGB24_V4_Loop

_ScanLineRGB24ToRGB24_V4_End:
	LDMFD	SP!, {R4, R5, R6, PC}




